tvheadend: fix compilation with GCC 7.3
authorHannu Nyman <[email protected]>
Tue, 1 May 2018 11:34:21 +0000 (14:34 +0300)
committerHannu Nyman <[email protected]>
Tue, 1 May 2018 11:34:21 +0000 (14:34 +0300)
Disable two warnings to enable compilation with GCC 7.3

Signed-off-by: Hannu Nyman <[email protected]>
multimedia/tvheadend/Makefile

index 4523fa082cdc3d0367f765cdd3b27c814ad74e94..351ec6b61dcbd8accedcf0b82086bd465c3fb6c2 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tvheadend
 PKG_VERSION:=4.0.9
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)
 PKG_SOURCE_VERSION:=v$(PKG_VERSION)
@@ -76,6 +76,8 @@ CONFIGURE_ARGS += \
        --disable-libav \
        --enable-bundle
 
+TARGET_CFLAGS += -Wno-error=pointer-compare -Wno-error=misleading-indentation
+
 define Build/Prepare
        $(call Build/Prepare/Default)
        echo 'Tvheadend $(shell echo $(PKG_SOURCE_VERSION) | sed "s/^v//")~openwrt$(PKG_RELEASE)' \